package com.diqizu.entity;

public class News {
	private int id;
	private String title;
	private String context;
	private int typeid;
	private String time;
	private String isShow;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContext() {
		return context;
	}

	public void setContext(String context) {
		this.context = context;
	}

	public int getNewid() {
		return typeid;
	}

	public void setNewid(int newid) {
		this.typeid = newid;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getIsShow() {
		return isShow;
	}

	public void setIsShow(String isShow) {
		this.isShow = isShow;
	}

	public News() {
		super();
		// TODO Auto-generated constructor stub
	}

	
	public News(int id, String title, String context, int typeid, String time, String isShow) {
		super();
		this.id = id;
		this.title = title;
		this.context = context;
		this.typeid = typeid;
		this.time = time;
		this.isShow = isShow;
	}

	@Override
	public String toString() {
		return "news [id=" + id + ", title=" + title + ", context=" + context + ", typeid=" + typeid + ", time=" + time
				+ ", isShow=" + isShow + "]";
	}

	

}
